package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.RoomInfo;
import com.atguigu.lease.web.admin.service.impl.LeaseException;
import com.atguigu.lease.web.admin.vo.room.RoomDetailVo;
import com.atguigu.lease.web.admin.vo.room.RoomItemVo;
import com.atguigu.lease.web.admin.vo.room.RoomQueryVo;
import com.atguigu.lease.web.admin.vo.room.RoomSubmitVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface RoomInfoService extends IService<RoomInfo> {

    void customSaveOrUpdate(RoomSubmitVo roomSubmitVo);

    void customPage(Page<RoomItemVo> page, RoomQueryVo queryVo);

    void customRemoveById(Long id) throws LeaseException;

    RoomDetailVo customGetById(Long id);
}